﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Pep_3014_3070_Desktop
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

        private void novaRezervacijaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddReservation newReservation = new AddReservation();
            newReservation.Show();
        }

        private void aktivneRezervacijeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ActiveReservation activeReservation = new ActiveReservation();
            activeReservation.Show();
        }

        private void pregledRezervacijaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ShowReservation showReservation = new ShowReservation();
            showReservation.Show();
        }

        private void ukloniRezervacijuToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RemoveReservation removeReservation = new RemoveReservation();
            removeReservation.Show();
        }

        private void noviApartmanToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddApartment newApartment = new AddApartment();
            newApartment.Show();
        }

      
        private void izmjenaPodatakaToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ChangeDataApartment changeData = new ChangeDataApartment();
            changeData.Show();
        }

        private void ukloniApartmanToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RemoveApartment removeApartman = new RemoveApartment();
            removeApartman.Show();
        }

        private void noviIznajmljivačToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddOwner newOwner = new AddOwner();
            newOwner.Show();
        }

        private void izmjenaPodatakaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ChangeDataOwner changeData = new ChangeDataOwner();
            changeData.Show();
        }

        private void ukloniIznajmljivačaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RemoveOwner removeOwner = new RemoveOwner();
            removeOwner.Show();
        }

        private void noviKlijentToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddCustomer newCustomer = new AddCustomer();
            newCustomer.Show();
        }

        private void izmjenaPodatakaToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            ChangeDataCustomer changeData = new ChangeDataCustomer();
            changeData.Show();
        }

        private void ukloniKlijentaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RemoveCustomer removeCustomer = new RemoveCustomer();
            removeCustomer.Show();
        }

      
    }
}
